/**
 * Created by ebalmes Oct 8, 2009 5:59:20 PM
 * 
 */
package gui.validators;

import gui.components.XField;

public class StringValidator implements IValidator
{


  @Override
  public boolean validate(Object o) {
    XField field = (XField)o;
    if (field.getText().equals("")) {
      return false;
    }
    return true;
  }
}
